import axios from "axios";

export function get(url, config) {
  const instance = axios.create({
    baseURL: 'http://localhost:3000',
    timeout: 5000
  })
  return instance.get(url, config)
}

export function post(url, data) {
  const instance = axios.create({
    baseURL: 'http://localhost:3000',
    timeout: 5000
  })
  return instance.post(url, data)
}



